package com.qys.livesMall.kafka.enums;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@PropertySource(value = "classpath:config/kafka-topic-${spring.profiles.active}.properties")// 用来指定配置文件的位置
public class QysTopic {

    //店铺浏览记录
    @Value("${shop.browse.records.topic}")
    public String shop_browse_records;

    /**
     * 后台日志记录
     */
    @Value("${system.log.records.topic}")
    public String systemLogRecords;

    /**
     * 快递回调消息
     */
    @Value("${system.express.message.topic}")
    public String expressMessage;


}


